package com.xinnet.mms.company.service.impl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xinnet.mms.company.dao.CompanyDao;
import com.xinnet.mms.company.service.CompanyService;
import com.xinnet.mms.entity.Company;

@Service("companyService")
public class CompanyServiceImpl implements CompanyService{
	
	@Autowired
	private CompanyDao companyDao;
	
	public List<Company> getAllCompanyList(){
		return companyDao.getAllCompanyList();
	}
	
	public Company getCompanyById(String id){
		return  companyDao.getCompanyById(id);
	}
}
